<?php
/**
 * Created by PhpStorm.
 * User: HP_USER
 * Date: 2018/6/11
 * Time: 14:07
 */
namespace app\Clearing;

use think\Controller;
use think\Request;

class  Base extends Controller
{
    /**
     * 正确状态码
     * @var int
     */
    protected $t_code;

    /**
     * 错误状态码
     * @var int
     */
    protected $f_code;

    public function __construct()
    {
        header("Access-Control-Allow-Origin: *");
        parent::__construct();
        parent::_initialize(); // TODO: Change the autogenerated stub
        $this->t_code=config('t_code');
        $this->f_code=config('f_code');
    }
}

